package demo09_decorator.Component;

public class SimpleCharEncyption extends CharEncyption {
    @Override
    public String encypt(String str) {
        char[] chars = str.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            chars[i] +=  1 ;
        }
        return String.valueOf(chars);
    }
}
